package com.baida.retail.tasksystem.dao;

import com.baida.retail.tasksystem.entity.Order;

import java.util.Date;
import java.util.List;

public interface OrderDao {
    int updateDeliveryTime(Long orderId, Date deliveryDate, String deliveryTimeSlot, boolean deliveredAsSoonAsPossible);

    int setAquaticProductionFinished(Long orderId);

    Order getById(Long orderId);

    List<Order> getOrdersById(List<Long> orderIds);

    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
}
